import request from '@/utils/request'
// 技能管理接口
// add skill
export function addSkill(data) {
  return request({
    url: '/workerSkill/addSkill',
    method: 'post',
    data,
  })
}
//获取所有技能
export function getAllSkill(id) {
  return request({
    url: '/workerSkill/getAllSkill',
    method: 'get',
    params: { type: id },
  })
}
